#ifndef __CAPPOBJ_H
#define __CAPPOBJ_H

//#include "applicationobj_c.h"
#include "applicationobj.h"

typedef struct tagAppObj
{
	ApplicationObj super;
	short (*SetParam)(short paramId, unsigned char *buffer, short size);
}AppObj; 

AppObj *CreateAppObj(short type);

short GetParamLandLine(short paramId, unsigned char *buffer, short size);
short SetParamLandLine(short paramId, unsigned char *buffer, short size);
short GetParamGsm(short paramId, unsigned char *buffer, short size);
short SetParamGsm(short paramId, unsigned char *buffer, short size);
short NotifyLandLine(short state);
short NotifyGprs(short state);
short SetParamGprs(short paramId, unsigned char *buffer, short size);
short GetParamGprs(short paramId, unsigned char *buffer, short size);
short NotifyGsm(short state);
short GetParamCdma(short paramId, unsigned char *buffer, short size);
short SetParamCdma(short paramId, unsigned char *buffer, short size);
short NotifyCdma(short state);
short GetParamCO(short paramId, unsigned char *buffer, short size);
short SetParamCO(short paramId, unsigned char *buffer, short size);
short NotifyCO(short state);
short GetParamWiFi(short paramId, unsigned char *buffer, short size);
short SetParamWiFi(short paramId, unsigned char *buffer, short size);
short NotifyWiFi(short state);

extern char* szGetGPRSModelNo(void);
extern void vdSetGPRSModelNo(const char* szGPRSModelNo);
extern int	inLoadGPTRec (int inRecNumber);
extern char* szGetAPN(void);
extern char* szGetPhoneNoGprs(void);
extern int	inSaveGPTRec (int inRecNumber);
#endif

